package com.yst.gateway.monitor.dao;

import com.yst.gateway.monitor.models.QzBusiness;
import com.yst.gateway.monitor.models.QzChannelBusiness;

import java.util.List;
import java.util.Map;

public interface QzBusinessMapper {
    int deleteByPrimaryKey(String businessId);

    int insert(QzBusiness record);

    QzBusiness selectByPrimaryKey(String businessId);

    List<QzBusiness> selectAll(Map<String ,Object> param);

    int updateByPrimaryKey(QzBusiness record);
    
    List<QzBusiness> selectByName(String name);
    
    List<QzChannelBusiness> selectByBusinessId(String businessId);
    
    List<QzBusiness> getByChannelId(String channelId);
    
    
}